package com.jy.adscm.operation.hscrb.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-12-17
 */
public class ZzFinalassemblydetial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "DID", type = IdType.AUTO)
    private Integer did;
    private String tid;
    private String detailname;
    private String batchnums;
    private String type;
    private Integer plannums;
    private String planunit;
    private Date planboxnums;
    private Date customer;
    private Integer begintime;
    private String beginaddtime;
    private Date needer;
    private Integer neednums;
    private Date needunit;
    private Date needboxnums;
    private Integer exceptionnums;
    private String exceptionunit;
    private String exceptionboxnums;
    private String starttime;
    private String endtime;
    private Date overaddtime;
    private String atoperator;


    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getDetailname() {
        return detailname;
    }

    public void setDetailname(String detailname) {
        this.detailname = detailname;
    }

    public String getBatchnums() {
        return batchnums;
    }

    public void setBatchnums(String batchnums) {
        this.batchnums = batchnums;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPlannums() {
        return plannums;
    }

    public void setPlannums(Integer plannums) {
        this.plannums = plannums;
    }

    public String getPlanunit() {
        return planunit;
    }

    public void setPlanunit(String planunit) {
        this.planunit = planunit;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getPlanboxnums() {
        return planboxnums;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setPlanboxnums(Date planboxnums) {
        this.planboxnums = planboxnums;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCustomer() {
        return customer;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCustomer(Date customer) {
        this.customer = customer;
    }

    public Integer getBegintime() {
        return begintime;
    }

    public void setBegintime(Integer begintime) {
        this.begintime = begintime;
    }

    public String getBeginaddtime() {
        return beginaddtime;
    }

    public void setBeginaddtime(String beginaddtime) {
        this.beginaddtime = beginaddtime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getNeeder() {
        return needer;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setNeeder(Date needer) {
        this.needer = needer;
    }

    public Integer getNeednums() {
        return neednums;
    }

    public void setNeednums(Integer neednums) {
        this.neednums = neednums;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getNeedunit() {
        return needunit;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setNeedunit(Date needunit) {
        this.needunit = needunit;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getNeedboxnums() {
        return needboxnums;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setNeedboxnums(Date needboxnums) {
        this.needboxnums = needboxnums;
    }

    public Integer getExceptionnums() {
        return exceptionnums;
    }

    public void setExceptionnums(Integer exceptionnums) {
        this.exceptionnums = exceptionnums;
    }

    public String getExceptionunit() {
        return exceptionunit;
    }

    public void setExceptionunit(String exceptionunit) {
        this.exceptionunit = exceptionunit;
    }

    public String getExceptionboxnums() {
        return exceptionboxnums;
    }

    public void setExceptionboxnums(String exceptionboxnums) {
        this.exceptionboxnums = exceptionboxnums;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getOveraddtime() {
        return overaddtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setOveraddtime(Date overaddtime) {
        this.overaddtime = overaddtime;
    }

    public String getAtoperator() {
        return atoperator;
    }

    public void setAtoperator(String atoperator) {
        this.atoperator = atoperator;
    }

    @Override
    public String toString() {
        return "ZzFinalassemblydetial{" +
        "did=" + did +
        ", tid=" + tid +
        ", detailname=" + detailname +
        ", batchnums=" + batchnums +
        ", type=" + type +
        ", plannums=" + plannums +
        ", planunit=" + planunit +
        ", planboxnums=" + planboxnums +
        ", customer=" + customer +
        ", begintime=" + begintime +
        ", beginaddtime=" + beginaddtime +
        ", needer=" + needer +
        ", neednums=" + neednums +
        ", needunit=" + needunit +
        ", needboxnums=" + needboxnums +
        ", exceptionnums=" + exceptionnums +
        ", exceptionunit=" + exceptionunit +
        ", exceptionboxnums=" + exceptionboxnums +
        ", starttime=" + starttime +
        ", endtime=" + endtime +
        ", overaddtime=" + overaddtime +
        ", atoperator=" + atoperator +
        "}";
    }
}
